package luj.game.robot.internal.instance.boss.command.execute.invoke;

import luj.game.robot.api.action.RobotBossCommand;

final class ContextImpl implements RobotBossCommand.Context {

  @SuppressWarnings("unchecked")
  @Override
  public <P> P param(RobotBossCommand<P> command) {
    return (P) _param;
  }

  @Override
  public RobotBossCommand.Boss boss() {
    return _boss;
  }

  Object _param;

  CBossImpl _boss;
}
